<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登录</title>
</head>
<body>
	<div>
		<form:form id="command" method="POST" action="/admin/loginPost" modelAttribute="userLoginParam" >
			<table>
				<tr>
					<td>Username: </td>
					<td><form:input path="username" placeholder="请输入用户名" style="width: 100px;"/></td>
				</tr>
				<tr>
					<td>Password: </td>
					<td><form:password path="password" placeholder="请输入密码" style="width: 100px;" /></td>
				</tr>
				<tr>
					<td colspan="2" ><button type="submit">Submit</button></td>
				</tr>
			</table>
		</form:form>		
	</div>
</body>

<style type="text/css" >
	div {
		margin: 20px auto;
		text-align: center;
		display: flex;
		justify-content: center;
	}
</style>

</html>